/*
 * @Author: blak-kong
 * @Date: 2019-12-02 11:09:42
 * @Email: 546598185@qq.com
 */

const mongoose = require('mongoose');
const Schema = mongoose.Schema;

// Create Schema
const NavSchema = new Schema({
    name: {
        type: String,
        required: false
    },
    nav: {
        type: Array,
        required: false
    },
    footer: {
        type: Object,
        required: false
    },
    createTime: {
        type: Date,
        default: Date.now()
    }
});

module.exports = Nav = mongoose.model('nav', NavSchema);
